package cst.neu.yuejian_31.service;

import java.util.List;

import cst.neu.yuejian_31.bean.TrainBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by xxe on 2017/11/2.
 */

public interface TrainSearchService {
    @GET("train/searchtrain")
    Call<List<TrainBean>> searchTrain(@Query("train_name") String trainName);
}
